package com.woniuxy.controller;

import com.woniuxy.entity.MyDataSourceEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyController {
    @Autowired
    MyDataSourceEntity myDataSourceEntity;

    @RequestMapping("/show")
    public String show(){
        System.out.println(myDataSourceEntity.toString());
        return "hello";
    }

}
